package com.sk.gzwater.util;

public class WebServiceHelper {
	public static final class WebSource{
		public static final  String NAME_SPACE_1 = "Env.EICA.WebService.DataCenter";
		public static final  String NAME_SPACE_2 = "http://tempuri.org/";
		public static final String URL_1 = "http://www.gzewop.com:9999/WSStatisticMultiPlant.asmx";
		public static final String URL_2 = "http://www.gzewop.com:9999/WSMobileData.asmx";
		public static final String URL_3 = "http://www.gzewop.com:9999/StatisticAnalysis/WSZhiLiangFenXi.asmx";
		public static final String TEST_URL_1 = "http://192.168.200.50/GZWater/WSStatisticMultiPlant.asmx";
		public static final String TEST_URL_2 = "http://192.168.200.50/GZWater/WSMobileData.asmx";
		public static final String TEST_URL_3 = "http://192.168.200.50/GZWater/StatisticAnalysis/WSZhiLiangFenXi.asmx";
		
	}
		
	public static final class Dictionary{
		public static final int PHIN_PARATYPE = 60;
		public static final int PHIN_PARAID = 1;
		public static final int PHOUT_PARATYPE = 60;
		public static final int PHOUT_PARAID = 2;
		public static final int WATERAMOUNT_PARATYPE = 61;
		public static final int WATERAMOUNT_PARAID = 1;
	}
	public static final String getRealProviderID(int plantID,int ParaType, int ParaID){
		long realDateProviderID = plantID*1000000000 + ParaType*1000 + ParaID;
		return String.valueOf(realDateProviderID);
	}
}
